﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestReadonly
{
    internal class Student
    {
        private readonly int ID;

        public int Grade
        {
            get;
        } = 1;
        public Student ()
        {
            ID = 1;
            Grade = 2;
        }


        public int GetId()
        {
            return ID;
        }

    }
}
